home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
newsgroups
/
misc.19971216-19980424
/
000110_news@newsmaster….columbia.edu _Wed Jan 21 16:24:58 1998.msg
< prev
next >
Wrap
Internet Message Format
|
2020-01-01
|
2KB
Return-Path: <news@newsmaster.cc.columbia.edu>
Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30])
by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id QAA22805
for <kermit.misc@watsun.cc.columbia.edu>; Wed, 21 Jan 1998 16:24:58 -0500 (EST)
Received: (from news@localhost)
by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id QAA13938
for kermit.misc@watsun; Wed, 21 Jan 1998 16:24:57 -0500 (EST)
Path: news.columbia.edu!sol.ctr.columbia.edu!spool.mu.edu!uwm.edu!vixen.cso.uiuc.edu!howland.erols.net!news2.chicago.iagnet.net!news1.chicago.iagnet.net!iagnet.net!ftpbox.mot.com!mothost.mot.com!news-in.cig.mot.com!news.ecid.cig.mot.com!merlin!cornellr
From: cornellr@merlin.ecid.cig.mot.com (Robert Cornell)
Newsgroups: comp.protocols.kermit.misc
Subject: stderr under cgi
Date: 21 Jan 1998 21:02:13 GMT
Organization: Motorola Ltd., European Cellular Infrastructure Division
Lines: 34
Distribution: world
Message-ID: <1998Jan21.201529@merlin.ecid.cig.mot.com>
NNTP-Posting-Host: lanner.ecid.cig.mot.com
Xref: news.columbia.edu comp.protocols.kermit.misc:8286
Thanks for you comments Frank. My first post was a little unclear, let me clarify.
#!/opt/rat/bin/perl
$|=1;
print "Content-type: text/plain", "\n\n";
system ("/opt/rat/bin/kermit -C \"set xfer displ none,echo \\v(term),quit\"");
exit(0);
Displays:
Warning: terminal type unknown: ""
Fullscreen file transfer display disabled.
unknown
Which is strange as:
#!/opt/rat/bin/kermit
echo "Content-type: text/plain"
echo
echo {\v(term)}
quit
Happily Displays:
unknown
Without a warning, but if you add a switch statement and a couple of function
calls (i.e. Nothing related to the screen/term/output) you can generate a warning!
I have tried to redirect stderr to no effect. Your (and others) comments would
suggest that warnings are placed on stdin, could you confirm/deny.
FYI 193 Alpha 10 dosen't display this behaivior!
Robert
--
� Robert Cornell - cornellr@ecid.cig.mot.com